From e4c3755d4dd746511a87b9f7da7199fcd3ee0333 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 19 Jul 2011 14:10:15 +0100 Subject: [PATCH] x86-64/EFI: don't call EfiResetSystem() from machine_halt() c/s 23615:d19e77844267 was a little too eager in adding calls to EFI runtime services: machine_halt() doesn't really want to power off the machine, but that's what EfiResetSystem(EfiResetShutdown, ...) (called through efi_halt_system()) does. Signed-off-by: Jan Beulich --- xen/arch/x86/shutdown.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c index 5b9ed97c3d..ca31d3b48b 100644 --- a/xen/arch/x86/shutdown.c +++ b/xen/arch/x86/shutdown.c @@ -96,7 +96,6 @@ void machine_halt(void) watchdog_disable(); console_start_sync(); local_irq_enable(); - efi_halt_system(); smp_call_function(__machine_halt, NULL, 0); __machine_halt(NULL); } -- 2.30.2